Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Additional clarification for override_base_seq_len #75

Merged
merged 1 commit into from
Mar 3, 2024

Conversation

DocShotgun
Copy link
Member

Is your pull request related to a problem? Please describe.
In discussion with multiple users in support threads, new users frequently incorrectly use override_base_seq_len instead of max_seq_len to configure context length. This will cause problems if they attempt to use the built in automatic NTK rope scaling for context extension.

Also the documentation incorrectly specifies Mixtral as an example model with an incorrect base sequence length, when this only applies to Mistral 7B with sliding window attention inactive in exl2.

Why should this feature be added?
It will lead to fewer users using incorrect configurations.

Examples
None

Additional context
None

@bdashore3 bdashore3 merged commit de91ead into theroyallab:main Mar 3, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants